/**
 * Copyright (C), 2020, JieYi Software System Co., Ltd.
 * All rights reserved.
 * FileName:       MdmsUserPagingListData.java
 *
 * @Description:
 * @author: feiwe
 * Modification History:
 * Date         Author        Version        Discription
 * -------------------------------------------------------
 * 2020/11/11      feiwe                         add
 */


package com.fengwei.requestdata.database;

import com.fengwei.requestdata.PageData;

import javax.validation.constraints.NotNull;

public class MdmsDatabaseAddData extends PageData {

    @NotNull(message = "名称不能为空")
    public String databaseName;

    @NotNull(message = "类型不能为空")
    public String databaseType;

    @NotNull(message = "库不能为空")
    public String databaseDbname;

    @NotNull(message = "主机不能为空")
    public String databaseHost;

    public Integer databasePort;

    @NotNull(message = "用户不能为空")
    private String databaseUser;

    @NotNull(message = "用户密码不能为空")
    private String databasePasswordShow;

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public String getDatabaseType() {
        return databaseType;
    }

    public void setDatabaseType(String databaseType) {
        this.databaseType = databaseType;
    }

    public String getDatabaseDbname() {
        return databaseDbname;
    }

    public void setDatabaseDbname(String databaseDbname) {
        this.databaseDbname = databaseDbname;
    }

    public String getDatabaseHost() {
        return databaseHost;
    }

    public void setDatabaseHost(String databaseHost) {
        this.databaseHost = databaseHost;
    }

    public Integer getDatabasePort() {
        return databasePort;
    }

    public void setDatabasePort(Integer databasePort) {
        this.databasePort = databasePort;
    }

    public String getDatabaseUser() {
        return databaseUser;
    }

    public void setDatabaseUser(String databaseUser) {
        this.databaseUser = databaseUser;
    }

    public String getDatabasePasswordShow() {
        return databasePasswordShow;
    }

    public void setDatabasePasswordShow(String databasePasswordShow) {
        this.databasePasswordShow = databasePasswordShow;
    }
}
